package com.c611.smartclassroom.dto;

import java.io.Serializable;
import java.util.List;
public class AllClassRoomDto {
    private String p;   //学校名字
    private String pid;    //学校id

    private List<BuildClassDto> build;

    public AllClassRoomDto() {
    }

    public AllClassRoomDto(String p, String pid) {
        this.p = p;
        this.pid = pid;
    }

    public AllClassRoomDto(String p, String pid, List<BuildClassDto> build) {
        this.p = p;
        this.pid = pid;
        this.build = build;
    }

    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public List<BuildClassDto> getBuild() {
        return build;
    }

    public void setBuild(List<BuildClassDto> build) {
        this.build = build;
    }

    @Override
    public String toString() {
        return "AllClassRoomDto{" +
                "p='" + p + '\'' +
                ", pid=" + pid +
                ", build=" + build +
                '}';
    }
}
